package com.yckj.day04;

/**
 * TODO 测试方法的重载
 *
 * @author shengyuee
 * @version 1.0
 * 2025/7/21 11:56
 */
public class MethodDemo3Test {
    public static void main(String[] args) {
        MethodDemo3 md = new MethodDemo3();
        double sum1 = md.add(5.0, 5);
        System.out.println("sum1 = " + sum1);
        int sum2 = md.add(12, 34, 56);
        System.out.println("sum2 = " + sum2);
    }
}
